<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>导航栏布局</title>
  <style>
    nav{
      height: 70px;
      width: 1200px;
      margin: 0 auto;
      background-color: lightblue;
      box-shadow: 2px 2px 4px  lightcyan ;
      display: flex;
      align-items: center;
    }
    .logo-icon {
      width: 30px;
      height: 30px;
      vertical-align: middle;
    }
    .logo-tit{
      vertical-align: middle;
    }
    ul {
      flex: 1;
      display: flex;
    }
    ul li {
      width: 80px;
      text-align: center;
      list-style: none;
    }

  </style>
</head>
<body>
  <nav>
    <div class="logo">
        <img class="logo-icon" src="./img1.png" alt="">
        <span class="logo-tit">我是logo</span>
    </div>

    <ul>
      <li>导航1</li>
      <li>导航2</li>
      <li>导航3</li>
    </ul>

    <div class="quit">
      退出
    </div>
  </nav>
</body>
</html>